package com.gluck.cases.core.block;

import com.gluck.cases.core.modal.dto.AdminRoleDTO;
import com.gluck.cases.core.modal.entity.AdminRole;

/**
 * @ClassName AdminRoleBlock
 * @Desc AdminRoleBlock
 * @Author I am Gluck
 * @Date 2022/5/17 - 7:48 下午
 **/
public interface AdminRoleBlock {

    boolean associateRole(AdminRoleDTO dto);

    boolean removeAssociate(AdminRoleDTO dto);

    boolean update(AdminRoleDTO dto);

    boolean checkAdminRoleExists(Integer id);

}
